package cn.itcast.user.mapper;

import cn.itcast.hmall.pojo.user.Address;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;


public interface AddressMapper extends BaseMapper<Address> {

    @Select("select * from tb_address where user_id=#{uid}")
    List<Address> selectByUid(String uid);
}
